<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0">
    <xd:doc xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet">
        <xd:desc>
            <xd:p><xd:b>Created on:</xd:b>26 April 2012</xd:p>
            <xd:p><xd:b>Authors:</xd:b>Amber Camus and Trey Conatser</xd:p>
            <xd:p/>
        </xd:desc>
    </xd:doc>
    <xsl:include href="AtkinsonCommon.xsl"/>
    <xsl:template match="/">
        <html>
            <xsl:element name="meta">
                <xsl:attribute name="name">keywords</xsl:attribute>
                <xsl:attribute name="content">
                    <xsl:for-each select="//tei:keywords[@scheme='metaTags']/tei:term">
                        <xsl:choose>
                            <xsl:when test="current()=//tei:keywords[@scheme='metaTags']/tei:term[1]">
                                <xsl:apply-templates/>
                            </xsl:when>
                            <xsl:otherwise>, <xsl:apply-templates/></xsl:otherwise>
                        </xsl:choose>
                    </xsl:for-each>
                </xsl:attribute>
            </xsl:element>
            <title>
                <xsl:value-of select="/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title"/>
            </title>
      
            <style type="text/css">
              <xsl:value-of select="bodyRule"/>
              body {
                   margin: 30px;
                   background-color: #FFFFFF;
                   font-family: Garamond, serif;
                   width: 800px;
               }
               .bodyNav {
                   float : left;
                   width : 100px;
                   text-align : right;
                   left : 50px;
               }
               .bodyMain {
                   float : left;
                   width: 500px;
                   text-align : justify;
                   line-height : 140%;
                   left : 230px;
                   top: 163px;
                   position : absolute;
               }
               .filmstrip {
                   float : left;
                   width : 60px;
                   text-align : justify;
                   line-height : 140%;
                   left : 740px;
                   top : 245px;
                   position : absolute;
               }
               hr {
                   background-color : #030303;
                   color : #888833;
                   clear : left;
                   margin-top : 3px;
                   margin-bottom : 3px;
               }
               p {
                   line-height : 140%;
               }
               blockquote {
                   line-height : 140%;
                   text-align : justify;
               }
               sup {
                   line-height : 10px;
                   font-size : 10px;
               }
               h1, h2, h3, p {
                   margin-top : 5px;
                   margin-bottom : 5px;
                   font-weight : normal;
               }
               h1 {
                   font-family : Garamond, serif;
                   font-size : 24pt;
                   font-style : normal;
               }
               h2 {
                   font-family : Garamond, serif;
                   font-size : 18pt;
                   font-style : normal;
               }
               h3 {
                   font-family : Garamond, serif;
                   font-size : 14pt;
                   font-style : normal;
               }
               .masthead h2 {
                   margin-left : 95px;
               }
               .masthead h3 {
                   margin-left : 200px;
               }
               .masthead img {
                   float: left;
                   padding: 3px;
                   margin-top: 3px;
                   margin-bottom: 3px;
                   left : 570px;
                   top : 60px;
                   position : absolute;
               }
               .bodyNav img {
                   float: left;
                   padding: 3px;
                   margin-top: 3px;
                   margin-bottom: 3px;
                   left : 30px;
                   top : 380px;
                   position : absolute;
               }
               img {
                   float: left;
                   padding: 5px;
                   margin-top: 5px;
                   margin-bottom: 5px;
               }
                div.fl_img_right {
                   float : right;
                   text-align : center;
                   margin : 5px 5px 5px 5px;
               }
               .ProjectTitle {
                   font-family : Garamond, serif;
                   font-size : 16pt;
                   font-style : normal;
                   font-weight : normal;
                   line-height : 18pt;
                }
                a:link {
                   text-decoration : none;
                   color : #000000;
                }
                a:visited {
                   color : #000000;
                }
            </style>
      
            <head>
                <body>
                    <div class="masthead">
                            <h1><i>A Poetical Epistle from Marie Antoinette</i>, by Thomas Atkinson</h1>
                            <h2>An Electronic Scholarly Edition</h2>
                            <h3>Edited by Amber Camus and Trey Conatser</h3>
                            <img src="http://upload.wikimedia.org/wikipedia/commons/e/eb/Women%27s_March_on_Versailles01.jpg" width="180" height="55" alt="October Days March"/>
                            <hr size="3px"/><hr size="4px"/>
                    </div>
                </body>
            </head>
            <body>
                <div class="body">
                <div class="bodyNav">
                    <p><br/><b><span style="font-variant: small-caps;">Navigation</span></b></p>
                    <p><br/>
                        <a href="AtkinsonAbout.html" title="About the Edition"><span style="font-variant: small-caps;">About</span></a><br/>
                        <a href="AtkinsonIntro.html" title="Introduction to the Edition"><span style="font-variant: small-caps;">Introduction</span></a><br/>
                        <a href="AtkinsonText.html" title="Text of the Edition"><span style="font-variant: small-caps;">The Poem</span></a><br/>
                        <a href="AtkinsonAppendices.html" title="Appendices to the Edition"><span style="font-variant: small-caps;">Appendices</span></a><br/>
                        <a href="AtkinsonWorksCited.html" title="Works Cited"><span style="font-variant: small-caps;">Works Cited</span></a><br/>
                        <a href="AtkinsonResources.html" title="Reading and Resources"><span style="font-variant: small-caps;">Resources</span></a>
                    </p>
                    <p>
                        <img src="http://upload.wikimedia.org/wikipedia/commons/2/20/Alexander_Kucharski%2C_La_Reine_Marie-Antoinette_%28années_1790%29.jpg" width="100" height="120" alt="Marie Antoinette by Alexander Kucharsky 1791"/>
                    </p>
                    
                </div>
                <div class="bodyMain">
                    <a name="top"></a>
                    <p>
                        <h2><b>About the Edition</b></h2></p>
                    <p><hr/><span style="float:right">[<a href="AtkinsonEpistle.xml">xml</a>] [<a href="#editors">editors</a>] [<a href="#license">license</a>]</span><br/><br/>
                        <xsl:apply-templates select="/tei:TEI//tei:note[@type='descriptive']"/>
                    </p>
                    <p><br/>
                        <a name="editors"></a>
                        <h3><b>Editors</b></h3>
                    </p>
                    <p><br/>
                        <xsl:for-each select="/tei:TEI//tei:listPerson[@type='editors']/tei:person">
                            <p>
                               <b><xsl:value-of select="tei:persName"/></b> 
                                <xsl:value-of select="tei:note[@type='biographical']"/>
                                <xsl:for-each select="tei:figure">
                                [<a>   
                                    <xsl:attribute name="href">
                                        <xsl:value-of select="tei:graphic/@url"/>
                                    </xsl:attribute>
                                    <xsl:attribute name="alt">
                                        <xsl:value-of select="tei:figDesc"/>
                                    </xsl:attribute>
                                    <xsl:value-of select="tei:head"/>
                                </a>]
                                </xsl:for-each>
                            </p><br/>
                        </xsl:for-each>
                    </p>
                    <span style="float:right">[<a href="#top">top</a>]</span><br/><br/><hr/>
                    <a name="license"></a>
                    <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="padding:0px;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png"/></a><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type"><i>A Poetical Epistle from Marie Antoinette, by Thomas Atkinson: An Electronic Scholarly Edition</i></span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Amber Camus and Trey Conatser</span> is licensed under a [<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>]. All or part of the 
                    edition may be copied, transmitted, distributed, or adapted as long as acknowledgment is made to 
                    both this edition and its editors and alterations of the original are made explicit.<br/><br/>
                </div>
                </div>
                <div class="filmstrip">
                    <a href="http://en.wikipedia.org/wiki/File:Marie-Antoinette_par_Elisabeth_Vigée-Lebrun_-_1783.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/6/68/Marie-Antoinette_par_Elisabeth_Vigée-Lebrun_-_1783.jpg" alt="Marie Antoinette of Austria, Queen of France" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Troisordres.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/8/8e/Troisordres.jpg" alt="The Third Estate carrying the Clergy and the Nobility on its back" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Marie_Antoinette_Young4.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/b/b6/Marie_Antoinette_Young4.jpg" alt="Archduchess Maria Antonia of Austria, the later Queen Marie Antoinette of France, at the age of 16 years" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Pompeo_Batoni_002.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/3/33/Pompeo_Batoni_002.jpg" alt="Portrait of Emperor Joseph II (right) and his younger brother Grand Duke Leopold of Tuscany (left), who would later become Holy Roman Emperor as Leopold II" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Ludvig_XVI_av_Frankrike_porträtterad_av_AF_Callet.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/2/2e/Ludvig_XVI_av_Frankrike_porträtterad_av_AF_Callet.jpg" alt="Portrait of Louis XVI" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Declaration_of_the_Rights_of_Man_and_of_the_Citizen_in_1789.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/6/6c/Declaration_of_the_Rights_of_Man_and_of_the_Citizen_in_1789.jpg" alt="Representation of the Declaration of the Rights of Man and of the Citizen in 1789 Includes Eye of providence symbol (eye in triangle)" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Cruikshank_-_The_Radical%27s_Arms.png">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/7/76/Cruikshank_-_The_Radical%27s_Arms.png" alt="The Radical's Arms" width="145%"/>
                    </a>
                    <a href="http://en.wikipedia.org/wiki/File:Jacques-Louis_David_-_Marie_Antoinette_on_the_Way_to_the_Guillotine.jpg">
                        <img src="http://upload.wikimedia.org/wikipedia/commons/8/83/Jacques-Louis_David_-_Marie_Antoinette_on_the_Way_to_the_Guillotine.jpg" alt="Marie Antoinette on her way to the guillotine" width="145%"/>
                    </a>
                </div>
            </body>
        </html>
    </xsl:template>
    
</xsl:stylesheet>